class Innate_Skill_HealingPrayer < Innate_Skill
  def initialize(actor)
    super(actor)
    @name = '治愈的祈祷'
    @type = 2
    @energy_cost = 1
    @description = '回复单体友军生命值，根据自身最大生命值等比提升恢复量'
    @icon_name = "HealingPrayer"
    @target_mode = 3
  end
  def use
    super
    make_actions
  end
  def make_actions
    action = Action_Bit.new(@actor, 1).set_detail(46).set_block
    action_flow.add_action(action)
    action = Action_Bit.new(@selected_target, 1).set_detail(17)
    action_flow.add_action(action)
    value = (@actor.maxhp * 60) / 100
    action = Action_Bit.new(@selected_target, 3).set_delay_time(10).set_detail(value)
    action_flow.add_action(action)
  end
  def next_level_description
    return "回复量提升"
  end
end
